<?php 
class confController extends CController{
    
    public $model_name = 'configuracao/conf';
    public function AfterLoad() {
        $this->addToFreeCod('test');
        parent::AfterLoad();
    }
    
    public function test(){
        $this->model->findConfiguration('plugin', "ocorrencia");
    }
    
}
?>